package 异常的处理.test01;

public class test02 {
    public static void main(String[] args){
        //doSome();  Error:(5, 14) java: 未报告的异常错误java.lang.ClassNotFoundException; 必须对其进行捕获或声明以便抛出
        try {
            doSome();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
    public static void doSome()throws ClassNotFoundException{
        System.out.println("doSome!!!!");
    }
}

